<template>
	<view :style="themeColor">
		<view class="page">
			<view class="flex benben-position-layout flex flex-wrap align-center fireRectificationNotice_flex_0"
				:style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
				<view class='flex flex-wrap align-center justify-between flex-sub fireRectificationNotice_fd0_0'>
					<view class='flex flex-wrap align-center fireRectificationNotice_fd0_0_c0' @tap.stop="handleJumpDiy"
						data-type="back" data-url="1">
						<text class='fu-iconfont2  fireRectificationNotice_fd0_0_c0_c0'>&#xE794;</text>
					</view>
					<view class='flex flex-wrap align-stretch justify-center'>
						<text class='fireRectificationNotice_fd0_0_c1_c0'>消防整改通知</text>
					</view>
					<view class='flex flex-wrap align-center justify-end fireRectificationNotice_fd0_0_c0'>
					</view>
				</view>

			</view>
			<view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>
			<!---flex布局flex布局开始-->
			<view class="flex flex-direction flex-wrap align-stretch benben-flex-layout fireRectificationNotice_flex_1">
				<view class='flex flex-direction flex-wrap align-stretch fireRectificationNotice_fd1_0'>
					<view class='flex flex-wrap align-center fireRectificationNotice_fd1_0_c0'>
						<text class='fireRectificationNotice_fd1_0_c0_c0'>房屋产权人：</text>
						<text class='fireRectificationNotice_fd1_0_c0_c1'>张怀民</text>
					</view>
					<view class='flex flex-wrap align-center fireRectificationNotice_fd1_0_c0'>
						<text class='fireRectificationNotice_fd1_0_c0_c0'>房屋承包人：</text>
						<text class='fireRectificationNotice_fd1_0_c0_c1'>张怀民</text>
					</view>
					<view class='flex flex-wrap align-center fireRectificationNotice_fd1_0_c0'>
						<text class='fireRectificationNotice_fd1_0_c0_c0'>房屋地址：</text>
						<text class='fireRectificationNotice_fd1_0_c0_c1'>杭州市萧山区钱江世纪城保亿中心B座29</text>
					</view>
					<view class='flex flex-wrap align-center fireRectificationNotice_fd1_0_c0'>
						<text class='fireRectificationNotice_fd1_0_c0_c0'>房屋类型：</text>
						<text class='fireRectificationNotice_fd1_0_c0_c1' v-if=" id=='1'">住宅</text><text
							class='fireRectificationNotice_fd1_0_c0_c1' v-if=" id=='2'">公寓</text><text
							class='fireRectificationNotice_fd1_0_c0_c1' v-if=" id=='3'">写字楼</text><text
							class='fireRectificationNotice_fd1_0_c0_c1' v-if=" id=='4'">商铺</text><text
							class='fireRectificationNotice_fd1_0_c0_c1' v-if=" id=='5'">厂房</text>
					</view>
					<view class='flex flex-wrap align-center fireRectificationNotice_fd1_0_c0'>
						<text class='fireRectificationNotice_fd1_0_c0_c0'>整改清单：</text>
					</view>
					<view class='flex flex-wrap align-center fireRectificationNotice_fd1_0_c0'>
						<text class='fireRectificationNotice_fd1_0_c0_c0'>通道堆放：</text>
						<text class='fireRectificationNotice_fd1_0_c0_c1'>杂物堆放</text>
					</view>
					<view class='flex flex-wrap align-center fireRectificationNotice_fd1_0_c0'>
						<text class='fireRectificationNotice_fd1_0_c0_c0'>烟感器：</text>
						<text class='fireRectificationNotice_fd1_0_c0_c1'>无智能烟感器</text>
					</view>
					<view class='flex flex-wrap align-center fireRectificationNotice_fd1_0_c0'>
						<text class='fireRectificationNotice_fd1_0_c0_c0'>喷头：</text>
						<text class='fireRectificationNotice_fd1_0_c0_c1'>缺失1个喷头</text>
					</view>
					<view class='flex flex-wrap align-center fireRectificationNotice_fd1_0_c0'>
						<text class='fireRectificationNotice_fd1_0_c0_c0'>灭火器：</text>
						<text class='fireRectificationNotice_fd1_0_c0_c1'>缺失灭火器1个</text>
					</view>
					<view class='flex flex-wrap align-center fireRectificationNotice_fd1_0_c0'
						v-if=" id=='1' || id=='2' || id=='3'">
						<text class='fireRectificationNotice_fd1_0_c0_c0'>逃生器具：</text>
						<text class='fireRectificationNotice_fd1_0_c0_c1'>缺失逃生器具1套</text>
					</view>
					<view class='flex flex-wrap align-center fireRectificationNotice_fd1_0_c0' v-if=" id=='4'">
						<text class='fireRectificationNotice_fd1_0_c0_c0'>厨房：</text>
						<text class='fireRectificationNotice_fd1_0_c0_c1'>煤气老化</text>
					</view>
					<view class='flex flex-wrap align-center fireRectificationNotice_fd1_0_c0' v-if=" id=='4'">
						<text class='fireRectificationNotice_fd1_0_c0_c0'>灶具：</text>
						<text class='fireRectificationNotice_fd1_0_c0_c1'>灶具规格不符合标准</text>
					</view>
					<view class='flex flex-wrap align-center fireRectificationNotice_fd1_0_c0' v-if=" id=='5'">
						<text class='fireRectificationNotice_fd1_0_c0_c0'>消防蹬高点：</text>
						<text class='fireRectificationNotice_fd1_0_c0_c1'>杂物堆放</text>
					</view>
					<view class='flex flex-wrap align-center fireRectificationNotice_fd1_0_c0'>
						<text class='fireRectificationNotice_fd1_0_c0_c0'>处罚结果：</text>
					</view>
					<text
						class='fireRectificationNotice_fd1_0_c14'>根据上述整改清单，扣除50积分，并处以￥300罚款，请于2023-08-01前完成整改并提交整改结果</text>
					<view class='flex flex-wrap align-center justify-between fireRectificationNotice_fd1_0_c15'>
						<text class='fireRectificationNotice_fd1_0_c15_c0'>商品图片</text>
						<text class='fireRectificationNotice_fd1_0_c15_c1'>+上传图片</text>
					</view>
					<benben-images-upload ref="benbenImagesUploadfd1_0_c16" :img-list.sync="img"
							:img-ids.sync="img_id" :is-show-tips='true' :maxlength="6">
						<template #content="{ num, maxlength, isShow, imgList }">
							<view class="flex flex-wrap align-start flex fireRectificationNotice_fd1_0_c16">

								<view v-for="(image, index) in imgList" :key="index"
									class='flex position-relative fireRectificationNotice_fd1_0_c160'>
									<text class='fu-iconfont2 position-absolute fireRectificationNotice_fd1_0_c1600'
										@tap.stop="$refs.benbenImagesUploadfd1_0_c16.delImage(index)">&#xE8E7;</text>
									<image class='fireRectificationNotice_fd1_0_c1601'
										@tap.stop="$refs.benbenImagesUploadfd1_0_c16.previewImage(index)"
										mode="aspectFill" :src='image'></image>
								</view>

								<image class='fireRectificationNotice_fd1_0_c161'
									@tap.stop="$refs.benbenImagesUploadfd1_0_c16.manyChooseImage()" v-if="isShow"
									mode="aspectFit" :src='STATIC_URL+"60.png"'></image>

							</view>
						</template>
					</benben-images-upload>
				</view>
				<button class='fireRectificationNotice_fd1_1' @tap.stop="clicktijiao">提交整改</button>
			</view>

			<!---flex布局flex布局结束-->


		</view>
	</view>
</template>
<script>
	export default {
		components: {},


		data() {
			return {
				"id": "5",
				img:[],
				img_id:''
			};
		},
		computed: {
			themeColor() {
				return this.$store.getters.themeColor
			},

		},
		watch: {},
		onLoad(options) {
			let {
				id
			} = options
			if (id !== undefined) this.id = id
		},
		onUnload() {

		},
		onReady() {

		},
		onShow() {

		},
		onHide() {

		},
		onResize() {

		},
		onPullDownRefresh() {

		},
		onReachBottom(e) {

		},
		onPageScroll(e) {

		},
		methods: {
			clicktijiao(){
				if(this.img.length == '0'){
					this.$message.info('请上传图片')
					return false
				}
				this.$message.info('提交成功')
				setTimeout(()=>{
					uni.navigateBack(1)
				},500)
			}
		}
	};
</script>
<style lang="scss" scoped>
	.page {
		width: 100vw;
		overflow-x: hidden;
		min-height: calc(100vh - var(--window-bottom));
		background: #F8F8F8;
		background-size: 100% auto;
	}

	.fireRectificationNotice_flex_0 {
		background: #fff;
		width: 750rpx;
		height: 88rpx;
		overflow: hidden;
		z-index: 10;
		top: 0rpx;
		background-size: 100% auto !important;
	}

	.fireRectificationNotice_fd0_0_c1_c0 {
		font-size: 36rpx;
		font-weight: 500;
		color: #333333;
		line-height: 36rpx;
	}

	.fireRectificationNotice_fd0_0_c0_c0 {
		font-size: 36rpx;
		color: #333;
	}

	.fireRectificationNotice_fd0_0_c0 {
		width: 120rpx;
	}

	.fireRectificationNotice_fd0_0 {
		padding: 0rpx 32rpx 0rpx 32rpx;
	}

	.fireRectificationNotice_flex_1 {
		padding: 24rpx 24rpx 0rpx 24rpx;
	}

	.fireRectificationNotice_fd1_1 {
		background: #FC5F80;
		border-radius: 44rpx 44rpx 44rpx 44rpx;
		width: 638rpx;
		line-height: 88rpx;
		font-size: 32rpx;
		color: #fff;
		height: 88rpx;
		font-weight: 500;
		position: fixed;
		bottom: calc(32rpx + var(--window-bottom));
		margin: 0rpx 0rpx 0rpx 32rpx;
	}

	.fireRectificationNotice_fd1_0_c161 {
		width: 216rpx;
		height: 216rpx;
		margin: 0rpx 6rpx 6rpx 0rpx;
		border-radius: 16rpx;
	}

	.fireRectificationNotice_fd1_0_c1601 {
		width: 216rpx;
		height: 216rpx;
		border-radius: 16rpx;
	}

	.fireRectificationNotice_fd1_0_c1600 {
		top: 0rpx;
		right: 0rpx;
		z-index: 10;
		color: rgba(242, 242, 242, 1);
		margin: 10rpx 10rpx 0rpx 0rpx;
		font-size: 46rpx;
	}

	.fireRectificationNotice_fd1_0_c160 {
		margin: 0rpx 12rpx 6rpx 0rpx;
		width: 216rpx;
		height: 216rpx;
		border-radius: 16rpx;
	}

	.fireRectificationNotice_fd1_0_c16 {
		margin: 0rpx -12rpx 0rpx 0rpx;
	}

	.fireRectificationNotice_fd1_0_c15_c1 {
		color: #FC5F80;
		font-size: 24rpx;
		font-weight: 400;
		line-height: 32rpx;
	}

	.fireRectificationNotice_fd1_0_c15_c0 {
		color: #333333;
		font-size: 28rpx;
		font-weight: 500;
		line-height: 32rpx;
	}

	.fireRectificationNotice_fd1_0_c15 {
		margin: 0rpx 0rpx 24rpx 0rpx;
	}

	.fireRectificationNotice_fd1_0_c14 {
		color: #333333;
		font-size: 28rpx;
		font-weight: 400;
		line-height: 48rpx;
		margin: 12rpx 0rpx 24rpx 0rpx;
	}

	.fireRectificationNotice_fd1_0_c0_c1 {
		color: #333333;
		font-size: 28rpx;
		font-weight: 400;
		line-height: 32rpx;
	}

	.fireRectificationNotice_fd1_0_c0_c0 {
		color: var(--benbenFontColor2);
		font-size: 28rpx;
		font-weight: 400;
		line-height: 32rpx;
	}

	.fireRectificationNotice_fd1_0_c0 {
		padding: 12rpx 0rpx 12rpx 0rpx;
	}

	.fireRectificationNotice_fd1_0 {
		background: var(--benbenbgColor1);
		padding: 20rpx 24rpx 32rpx 24rpx;
		border-radius: 16rpx;
		background-size: 100% auto;
	}
</style>